package cn.fintecher.pangolin.service.manage.request;

import cn.fintecher.pangolin.common.enums.NoticeType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 新增公告请求
 * @Date: 10:23 2019/9/2
 */

@Data
public class AddNoticeRequest {
    @ApiModelProperty(value = "公告类型")
    @NotNull(message = "notice.type.is.required")
    private NoticeType type;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;
}
